package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName WxmpAutoMessageDo
 * @Description
 * @Author ibeeking
 * @Date 2021-02-05 19:11
 **/
@Data
@TableName("mp_auto_message_key")
public class MpAutoMessageKeyDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * MpId
     */
    @TableField(value = "app_id")
    private String appId;

    /**
     * 消息id
     */
    @TableField(value = "message_id")
    private Long messageId;

    /**
     * 关键字
     */
    @TableField(value = "keyword")
    private String keyword;

    /**
     * 关键字
     */
    @TableField(value = "reply_info")
    private String replyInfo;

    /**
     * 是否全匹配 , 1：全匹配， 0：半匹配
     */
    @TableField(value = "all_equals")
    private Integer allEquals;

    @TableField("create_time")
    private LocalDateTime createTime;
}
